projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
24efda1
)
* lisp/auth-source.el (auth-source-backends-parser-file): Fix missing stringp.
author
Ted Zlatanov
<tzz@lifelogs.com>
Wed, 20 Dec 2017 01:01:08 +0000
(20:01 -0500)
committer
Ted Zlatanov
<tzz@lifelogs.com>
Wed, 20 Dec 2017 01:01:11 +0000
(20:01 -0500)
lisp/auth-source.el
patch
|
blob
|
history
diff --git
a/lisp/auth-source.el
b/lisp/auth-source.el
index 152c5af59ae714fcd6a6361f0a9dcea8c749980b..e6582fa796a6cd9082c934e22de9d263fb41ef68 100644
(file)
--- a/
lisp/auth-source.el
+++ b/
lisp/auth-source.el
@@
-386,7
+386,8
@@
soon as a function returns non-nil.")
(equal (file-name-extension source) "gpg"))
(file-name-sans-extension source)
(or source "")))
- (extension (or (file-name-extension source-without-gpg)
+ (extension (or (and (stringp source-without-gpg)
+ (file-name-extension source-without-gpg))
"")))
(when (stringp source)
(cond